<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>to.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
	<style type="text/css">
		.b{background: #ddd;}
	</style>
	<script type="text/javascript" src="jquery-1.6.js"></script>
	<script type="text/javascript">
		
		$(function(){
			$("p").click(function() {
				var s=$(this);
				s.toggleClass("b");
			});

			$(".bto").click(function(){
				alert($(".username").val());
			});
			
		});

		

	</script>
  </head>
  
  <body>
   <p>高亮</p>
   <hr>
   
   <input type="text" class="username"/>
   
   <input type="button" class="bto"/>
  </body>
</html>
